package com.syg.service;

import com.syg.dao.domain.Tclass;
import com.syg.dao.service.TclassService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author ps
 *
 */
@Slf4j
public class SqlLocalService {

    @Resource
    private TclassService tclassService;

    @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
    public Tclass findOneByBusinessKey(String businessKey) {

        // todo 根据service实现业务逻辑即可

        return null;
    }
}
